var arr = [{
    name:"moyu",
    gender:"male"
},{
    name:"momo",
    gender:"male"
},{
    name:"tom",
    gender:"female"
}]

var result = arr.every(function(item){
    return item.gender === "male";
})
console.log("全部都是男生吗？",result);
